import axios from '@/libs/api.request'
import cookie from "vux/src/tools/cookie";

//获取名烟排行榜

export const smokeRanking = (rankType) =>{
  return axios.request({
    url: 'GoodsRanking/smokeRanking',
    method: 'post',
    data:{ rankType },
  })
}
//获取名酒排行榜
export const wineRanking = (rankType) =>{
  return axios.request({
    url: 'GoodsRanking/categoryRanking',
    method: 'post',
    data:{ rankType },
  })
}
